data['dd']=data['dd'].replace('从北方吹来的风',1)
data['dd']=data['dd'].replace('从东北偏北方向吹来的风',2)
data['dd']=data['dd'].replace('从东北方吹来的风',3)
data['dd']=data['dd'].replace('从东北偏东方向吹来的风',4)

data['dd']=data['dd'].replace('从东方吹来的风',5)
data['dd']=data['dd'].replace('从东南偏东方向吹来的风',6)
data['dd']=data['dd'].replace('从东南方吹来的风',7)
data['dd']=data['dd'].replace('从东南偏南方向吹来的风',8)

data['dd']=data['dd'].replace('从南方吹来的风',9)
data['dd']=data['dd'].replace('从西南偏南方向吹来的风',10)
data['dd']=data['dd'].replace('从西南方吹来的风',11)
data['dd']=data['dd'].replace('从西南偏西方向吹来的风',12)

data['dd']=data['dd'].replace('从西方吹来的风',13)
data['dd']=data['dd'].replace('从西北偏西方向吹来的风',14)
data['dd']=data['dd'].replace('从西北方吹来的风',15)
data['dd']=data['dd'].replace('从西北偏北方向吹来的风',16)